package com.ly.web.form;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 用户搜索
 * @author ：LY
 * @date ：Created in 2020/11/15 19:07
 * @modified By：
 */
public class DatatableUserSearch {
    /**
     * Datatables是一款基于jQuery表格插件
     * Datatables要求回显字段
     */
    private int draw;
    //Datatables规定的分页字段
    //开始的位置
    private int start;
    //一共几页
    private int length;
    //用户搜索关键字
    private String userId;
    //排序方向降序deSC升序asc
    private String direction;
    //需要排序字段
    private String orderBy;

    public int getDraw() {
        return draw;
    }

    public void setDraw(int draw) {
        this.draw = draw;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }
}
